package com.tourlaid.mamagerment.mapper

import com.tourlaid.mamagerment.entity.Reward
import org.apache.ibatis.annotations.Param

/**
 * Created by xiaoyongge on 2017/7/19.
 */

interface RewardMapper {

    fun getById(id: Long): Reward;

    fun insert(record: Reward);

    fun queryByThoughtId(@Param("thoughtId") thoughtId: Long): List<Reward>

}